-- GENERATED SPELL FOR [Talramas Abomination] --


function spell0_25684(pUnit, Event) --@Plague Cloud,Self--
pUnit:FullCastSpellOnTarget(50366,pUnit)
pUnit:RegisterEvent('Sorts_25684', 0, 1)
end

function Sorts_25684(pUnit, Event)
local choix_sorts_25684 = math.random(0, 0)
if choix_sorts_25684 == 0 then
pUnit:RegisterEvent('spell0_25684', 1, 1)
end
end

function mob25684_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25684', math.random(1500, 3000), 1)
end

function mob25684_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25684_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25684_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25684, 1, 'mob25684_Action')
RegisterUnitEvent(25684, 2, 'mob25684_Leave')
RegisterUnitEvent(25684, 3, 'mob25684_Kill')
RegisterUnitEvent(25684, 4, 'mob25684_Die')
